]> dgit.raspbian.org Git - gnome-shell.git/commit
iconGrid: Initialize properties in _init
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 5 Sep 2013 15:59:41 +0000 (17:59 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 5 Sep 2013 16:18:05 +0000 (18:18 +0200)
commit39c4fa1bf0257d143afdf2dd9233a90dcd06312a
treec346af182ff59b53c4d15e9c626dff975e9f6d41
parent32b964e9b788c521216811a2e0d6def996c85cb4
iconGrid: Initialize properties in _init

While this is good style anyway, after the latest appDisplay changes
the first call to get_preferred_height() happens before we properly
compute those properties, resulting in a size request of NaN that
triggers a Clutter warning.
js/ui/iconGrid.js